package com.tansun.easycare.rule.datacomponent.service;

import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.tansun.easycare.rule.common.service.RuleBaseService;
import com.tansun.easycare.rule.datacomponent.model.DataMiningVo;
import com.tansun.easycare.rule.rulemange.entity.RuleManage;

public interface IDataMiningService extends RuleBaseService<RuleManage> {


	/**
	 * 保存模型
	 * @param vo
	 * @throws Exception
	 */
    void saveOrUpdate(DataMiningVo vo) throws Exception;


    void upload(MultipartFile file, String projectCode,String optType,String rankRelationId,String userId) throws Exception;
    
    DataMiningVo findDataMiningModdel(String code, String projectCode) throws Exception;
    
    /**
     * 模型计算
     * @param id
     * @param dataMap
     */
    void evaluateModel(String code, String projectCode,Map dataMap);
}
